package cn.wangzg.mymusic;

public class Music {
    private String title;
    private String artist;
    private String data;
    private long duration;
    private int albumId;

    public Music() {
    }

    public Music(String title, String artist, String data, long duration, int albumId) {
        this.title = title;
        this.artist = artist;
        this.data = data;
        this.duration = duration;
        this.albumId = albumId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getArtist() {
        return artist;
    }

    public void setArtist(String artist) {
        this.artist = artist;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public long getDuration() {
        return duration;
    }

    public void setDuration(long duration) {
        this.duration = duration;
    }

    public int getAlbumId() {
        return albumId;
    }

    public void setAlbumId(int albumId) {
        this.albumId = albumId;
    }
}
